package ch05;

import java.util.Scanner;

public class FibonacciRunner {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		
		System.out.println("Enter n:");
		int n = in.nextInt();
		
		FibonacciGenerator fg = new FibonacciGenerator();
		
		for(int i = 0; i <= n; i ++)
		{
			System.out.println(fg.nextFibonacciNumber());
		}

	}

}
